<%@page isELIgnored="false" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib uri="http://jakarta.apache.org/taglibs/unstandard-1.0" prefix="un" %>
<%@page import="com.mmche.common.Constant"%>
<un:useConstants var="constants" className="com.mmche.common.Constant" />
<%
	String  basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort();
	if(basePath.endsWith(":80"))
		basePath = basePath.substring(0, basePath.length()-3);
	String  path = basePath + Constant.IMG_PATH+"/";
	//去除path最后的双斜杠，改为单斜杠。因为在eWebeditor嵌入iframe时会出错
	if( path.endsWith("//")){
		  path = path.substring( 0 , path.length()-1 );
	}
	String contextPath = basePath+request.getContextPath();
	if( contextPath.endsWith("/")){
		contextPath = contextPath.substring( 0 , contextPath.length()-1 );
	}
	String jsPath = Constant.JS_PATH;
	String cssPath = Constant.CSS_PATH;
%>
<c:set var="path" value="<%=path%>"></c:set>
<c:set var="basePath" value="<%=basePath%>"></c:set>
<c:set var="contextPath" value="http://localhost:8080"></c:set>
<c:set var="cssPath" value="<%=cssPath%>"></c:set>
<c:set var="jsPath" value="<%=jsPath%>"></c:set>
<c:set var="glPath" value="http://localhost:8080/gonglue"></c:set>
<c:set var="zxPath" value="http://127.0.0.1:8080"></c:set>
<link rel="stylesheet" type="text/css" href="${cssPath}/resources/css/global.css">
<link rel="stylesheet" type="text/css" href="${cssPath}/resources/css/custom.css">
<script>
	var contextPath = '${contextPath}';
</script>
<!--[if IE 6]>
    <script type="text/javascript" src="${jsPath}/resources/js/iepng.js"></script>
    <script type="text/javascript">
       EvPNG.fix('.mmche-icon,.mmche-btn,.mmche-bg');
    </script>
<![endif]-->